package com.wxzz.elearing.evaluation.service.openfeign.sentinel;

import com.wxzz.elearing.evaluation.service.openfeign.IEnterpriseApiFeign;
import com.wxzz.elearning.common.dto.FeignEnterpriseDto;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

@Component
public class EnterpriseApiFeignImpl implements IEnterpriseApiFeign {
    @Override
    public ReturnVO<String> selectEnterpriseById(Long enterpriseId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseById调用异常");
        return returnVO;
    }

    @Override
    public FeignEnterpriseDto selectEnterpriseDtoById(Long enterpriseId) {
        return new FeignEnterpriseDto();
    }

    @Override
    public void updateEnterpriseStart(Long enterpriseId, Integer star) {

    }
}
